import request from '@/utils/request'

// 查询客户认领跟进列表
export function listCustomer_info(query) {
  return request({
    url: '/customer/customer_info/list',
    method: 'get',
    params: query
  })
}

// 查询客户认领跟进详细
export function getCustomer_info(id) {
  return request({
    url: '/customer/customer_info/' + id,
    method: 'get'
  })
}

// 新增客户认领跟进
export function addCustomer_info(data) {
  return request({
    url: '/customer/customer_info',
    method: 'post',
    data: data
  })
}

// 修改客户认领跟进
export function updateCustomer_info(data) {
  return request({
    url: '/customer/customer_info',
    method: 'put',
    data: data
  })
}

// 删除客户认领跟进
export function delCustomer_info(id) {
  return request({
    url: '/customer/customer_info/' + id,
    method: 'delete'
  })
}
